package com.hevery.security.core.properties;

import com.hevery.security.core.validate.code.ValidateCodeException;
import org.springframework.boot.context.properties.ConfigurationProperties;


/**
 * @author: zhy
 * @description: 这个类会读取以hevery.security开头的配置项
 * @date: created on 2017/10/24
 * @modified by:
 */
@ConfigurationProperties(prefix = "hevery.security")
public class SecurityProperties {

    /**其中Browser的配置都会读取到BrowserProperties这个类中*/
    private BrowserProperties browser = new BrowserProperties();

    private ValidateCodeProperties code = new ValidateCodeProperties();


    public BrowserProperties getBrowser() {
        return browser;
    }

    public void setBrowser(BrowserProperties browser) {
        this.browser = browser;
    }

    public ValidateCodeProperties getCode() {
        return code;
    }

    public void setCode(ValidateCodeProperties code) {
        this.code = code;
    }
}
